package cn.tedu.appointment.accounts.mapper;

import cn.tedu.appointment.accounts.pojo.dto.UserQuery;
import cn.tedu.appointment.accounts.pojo.entity.User;
import cn.tedu.appointment.accounts.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    // 查询用户列表
    List<UserVO> selectAll (UserQuery userQuery);

    // 修改
    void update(User user);

    void delete(Long id);
}
